package com.sbtr.business.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sbtr.business.user.entity.User;
import com.sbtr.open.user.dto.UserDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 用户信息表，仅记录登录过系统的用户信息 Mapper 接口
 * </p>
 *

 */
public interface UserMapper extends BaseMapper<User> {
    public List<UserDto> getList();

    public List<UserDto> getOne(@Param("userName") String userName);
}
